package com.sts.service;

import com.sts.dto.AttachmentDTO;
import com.sts.dto.AttachmentUploadDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface AttachmentService {
    AttachmentDTO upload(AttachmentUploadDTO dto, Long uploaderId);
    List<AttachmentDTO> listByTicket(Long ticketId);
    List<AttachmentDTO> listByComment(Long commentId);
    void delete(Long id, Long operatorId);
}